<template>
    <div>
        <!-- <Ztop z_title="黑马头条"></Ztop> -->
        <div v-if="$router.push != '/my'">
            <keep-alive include="layOut">
                <router-view></router-view>
            </keep-alive>
        </div>
        <router-view v-else></router-view>
    </div>
</template>
<script>
import "./styles/index.less";
// 顶部栏
import Ztop from "@/components/Ztop.vue";
export default {
    name: "App",
    data() {
        return {};
    },
    components: {
        Ztop,
    },
    created() {},
    computed: {},
    methods: {},
};
</script>
<style lang="less" scoped>
</style>
